import React from 'react'
import { useNavigate,Link } from 'umi'
export default function Reg() {
    const navigatate=useNavigate()
    function tologin(){
        navigatate('/login/2333?a=10&b=20')
    }
  return (
    <div>reg

        <button onClick={tologin}>跳转到login</button>

      
    </div>
  )
}
